<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
 <%  
String path = request.getContextPath();  
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";  
%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>登录</title>
<script type="text/javasrcipt" src="<%=basePath %>/js/jquery.min.js"></script>
<c:set value="${pageContext.request.contextPath}" var="path" scope="page"/>
<link rel="stylesheet" type="text/css" href="${path}/css/zui.css">
<link rel="stylesheet" type="text/css" href="${path}/css/login.css">
<link href="${path}/css/animate.min.css" rel="stylesheet">
<link href="${path}/css/font-awesome.min.css" rel="stylesheet">
<link rel="stylesheet" href="${path}/css/style.css">
<style>
	body{
		background-image: url(../image/4.jpg);
	}
</style>
</head>
<body>
	<div id="main-box"></div>
	<div id="main-content">
		<div class="login-body animated fadeInLeft">
			<form:form modelAttribute="admin" action="${pageContext.request.contextPath }/login/login" method="post" class="login-form">
				<h3>管理中心</h3>
				<h5 style="padding-bottom: 10px">Management Center</h5>
				<div id="MobileBox" class="item-box">
					<div class="input-group user-name">
						<span class="input-group-addon">
							<i style="width: 20px;height: 20px;background-position: center;background-size: cover; background-image: url(../image/User.png);display: block"></i>
						</span>
						<form:input path="aname" class="form-control" placeholder="用户名"/>
					</div>
					<div class="input-group password">
						<span class="input-group-addon">
							<i style="width: 20px;height: 20px;background-position: center;background-size: cover; background-image: url(../image/Pwd.png);display: block"></i>
						</span>
						<form:password path="apwd" class="form-control" placeholder="密码"/>
					</div>
					<div style="color: white">${massage}</div>
					<div class="login_btn_panel">
						<button class="btn btn-primary btn-block btn-lg" type="submit">登录</button>
						<div class="check-tips"></div>
					</div>
				</div>
			</form:form>
		</div> 
		<div class="footer">
			<%@include file="copyright.jsp" %>
		</div>
	</div>
</body>
</html>
